package Text;

import Pojo.Student;

public class TextStudent {
	public static void main(String[] args) {
		Student student = new Student();
		student.addName("liSi");
		student.addName("zhangSan");
		student.addName("wangEr");
		if (student.FindName("zhangSan") != -1) {
			System.out.println("找到了");
		} else {
			System.out.println("没找到");
		}
		if (student.getName("liSi", " maZi")) {
			System.out.println("替换成功");
		} else {
			System.out.println("替换失败");
		}
	}
}
